<script type="text/javascript">
    $(document).ready(function()    { 
        $('.form_01').addClass('show');
        $(".sl_category_ad").change(function(){
            if($(".sl_category_ad").val() == "1") {
                   $('.form_01').addClass('show');
                   $('.form_02').removeClass('show');
                } else {
                   $('.form_01').removeClass('show');
                   $('.form_02').addClass('show');
                }     
        });
    });
</script>

<div class="wrap_all_form search_ad">
    <div class="w_sl_category">
        <select class="select sl_category sl_category_ad">
            <option value="">-Select-</option>
            <option value="5">Arts &amp; Entertainment</option>
            <option value="3">Beauty &amp; Spas</option>
            <option value="4">Hotels &amp; Travel</option>
            <option value="1" selected="selected">Restaurants</option>
            <option value="6">Restaurants &gt; American</option>
            <option value="7">Restaurants &gt; Asian Fusion</option>
            <option value="8">Restaurants &gt; Chinese</option>
            <option value="9">Restaurants &gt; French</option>
            <option value="10">Restaurants &gt; Indian</option>
            <option value="11">Restaurants &gt; Italian</option>
            <option value="12">Restaurants &gt; Mexican</option>
            <option value="2">Shopping</option>
        </select>
    </div>  <!--/.w_sl_category-->
     
    <div id="adavnced_search_form" class="adavnced_search_form">
        <form class="form_01"> 
            <fieldset> 
                    <div class="col-md-6 f_left">
                        <div class="search_each_row geo_searchable">
                            <label for="ListingAddress">Address</label>
                            <select class="range_options_select select" id="ListingAddressOpreator">
                                <option value="1">1 mile</option>
                                <option value="5" selected="selected">5 miles</option>
                                <option value="10">10 miles</option> <option value="15">15 miles</option> <option value="20">20 miles</option> <option value="25">25 miles</option> 
                                <option value="30">30 miles</option> <option value="35">35 miles</option> <option value="40">40 miles</option>
                            </select> 
                            <textarea class="textarea">  </textarea> 
                        </div>
                        <div class="search_each_row select_searchable">
                            <label for="ListingState">State</label>
                            <select class="select" id="ListingState">
                                <option value="">All</option> <option value="1">Alabama</option> <option value="2">Alaska</option> <option value="3">Arizona</option>
                                <option value="4">Arkansas</option> <option value="5">California</option> <option value="6">Colorado</option> <option value="7">Connecticut</option>
                                <option value="8">Delaware</option> <option value="9">Florida</option> <option value="10">Georgia</option> <option value="11">Hawaii</option>
                                <option value="12">Idaho</option> <option value="13">Illinois</option> <option value="14">Indiana</option> <option value="15">Iowa</option>
                                <option value="16">Kansas</option> <option value="17">Kentucky</option> <option value="18">Louisiana</option> <option value="19">Maine</option>
                                <option value="20">Maryland</option> <option value="21">Massachusetts</option> <option value="22">Michigan</option> <option value="23">Minnesota</option>
                                <option value="24">Mississippi</option> <option value="25">Missouri</option> <option value="26">Montana</option> <option value="27">Nebraska</option>
                                <option value="28">Nevada</option> <option value="29"> New Hampshire</option> <option value="30"> New Jersey</option> <option value="31"> New Mexico</option>
                                <option value="32"> New York</option> <option value="33"> North Carolina</option> <option value="34"> North Dakota</option> <option value="35">Ohio</option>
                                <option value="36">Oklahoma</option> <option value="37">Oregon</option> <option value="38">Pennsylvania</option> <option value="39"> Rhode Island</option>
                                <option value="40"> South Carolina</option> <option value="41"> South Dakota</option> <option value="42">Tennessee</option> <option value="43">Texas</option>
                                <option value="44">Utah</option> <option value="45">Vermont</option> <option value="46">Virginia</option> <option value="47">Washington</option>
                                <option value="48"> West Virginia</option> <option value="49">Wisconsin</option>
                                <option value="50"> Wyoming</option>
                            </select>
                        </div>
                        <div class="search_each_row select_searchable">
                            <label for="ListingPrice">Price</label>
                            <select class="select" id="ListingPrice">
                                <option value="">All</option> <option value="51">$</option> <option value="52">$$</option> <option value="53">$$$</option> <option value="54">$$$$</option>
                            </select>
                        </div>
                    </div><!--f_left -->

                    <div class="col-md-6 f_right">
                        <div class="search_each_row radio_searchable">
                            <fieldset>
                                <legend>Takes Reservations</legend> 
                                <input type="radio" name="radio_reservations" id="ListingReservations55" class="radio"> <label for="ListingReservations55">Yes</label>
                                <input type="radio" name="radio_reservations" id="ListingReservations56" class="radio"> <label for="ListingReservations56">No</label>
                            </fieldset>
                        </div>
                        <div class="search_each_row radio_searchable">
                        <fieldset>
                            <legend>Delivery</legend> 
                            <input type="radio" name="radio_delivery" id="ListingDelivery57" class="radio" value="57"> <label for="ListingDelivery57">Yes</label>
                            <input type="radio" name="radio_delivery" id="ListingDelivery58" class="radio" value="58"> <label for="ListingDelivery58">No</label>
                        </fieldset>
                        </div>
                        <div class="search_each_row radio_searchable">
                            <fieldset>
                                <legend>Take-out</legend>
                                <input type="radio" name="radio_takeout" id="ListingTakeout59" class="radio" value="59"> <label for="ListingTakeout59">Yes</label>
                                <input type="radio" name="radio_takeout" id="ListingTakeout60" class="radio" value="60"> <label for="ListingTakeout60">No</label>
                            </fieldset>
                        </div>
                        <div class="search_each_row radio_searchable">
                            <fieldset>
                                <legend>Accepts Credit Cards</legend> 
                                <input type="radio" name="radio_acceptscards" id="ListingCreditcard61" class="radio" value="61"> <label for="ListingCreditcard61">Yes</label>
                                <input type="radio" name="radio_acceptscards" id="ListingCreditcard62" class="radio" value="62"> <label for="ListingCreditcard62">No</label>
                            </fieldset>
                        </div>
                        <div class="search_each_row select_searchable">
                            <label for="ListingGoodfor">Good For</label>
                            <select  class="select" id="ListingGoodfor">
                                <option value="">All</option> <option value="63">Breakfast </option> <option value="64">Brunch</option> <option value="65">Lunch</option> <option value="66">Dinner</option>
                                <option value="67">Desserts</option>
                            </select>
                        </div>
                    </div><!-- f_right-->  
                </fieldset>
                <div class="submit"><input class="bt_submit" type="submit" value="Search"></div>
            </form> 
             <form class="form_02" style=" "> 
            <fieldset> 
                    <div class="col-md-6 f_left">
                        <div class="search_each_row geo_searchable">
                            <label for="ListingAddress">Address</label>
                            <select class="range_options_select select" id="ListingAddressOpreator">
                                <option value="1">1 mile</option>
                                <option value="5" selected="selected">5 miles</option>
                                <option value="10">10 miles</option> <option value="15">15 miles</option> <option value="20">20 miles</option> <option value="25">25 miles</option> 
                                <option value="30">30 miles</option> <option value="35">35 miles</option> <option value="40">40 miles</option>
                            </select> 
                            <textarea class="textarea">  </textarea> 
                        </div>                          
                    </div><!--f_left -->
                    <div class="col-md-6 f_right">
                         <div class="search_each_row select_searchable">
                            <label for="ListingState">State</label>
                            <select class="select" id="ListingState">
                                <option value="">All</option> <option value="1">Alabama</option> <option value="2">Alaska</option> <option value="3">Arizona</option>
                                <option value="4">Arkansas</option> <option value="5">California</option> <option value="6">Colorado</option> <option value="7">Connecticut</option>
                                <option value="8">Delaware</option> <option value="9">Florida</option> <option value="10">Georgia</option> <option value="11">Hawaii</option>
                                <option value="12">Idaho</option> <option value="13">Illinois</option> <option value="14">Indiana</option> <option value="15">Iowa</option>
                                <option value="16">Kansas</option> <option value="17">Kentucky</option> <option value="18">Louisiana</option> <option value="19">Maine</option>
                                <option value="20">Maryland</option> <option value="21">Massachusetts</option> <option value="22">Michigan</option> <option value="23">Minnesota</option>
                                <option value="24">Mississippi</option> <option value="25">Missouri</option> <option value="26">Montana</option> <option value="27">Nebraska</option>
                                <option value="28">Nevada</option> <option value="29"> New Hampshire</option> <option value="30"> New Jersey</option> <option value="31"> New Mexico</option>
                                <option value="32"> New York</option> <option value="33"> North Carolina</option> <option value="34"> North Dakota</option> <option value="35">Ohio</option>
                                <option value="36">Oklahoma</option> <option value="37">Oregon</option> <option value="38">Pennsylvania</option> <option value="39"> Rhode Island</option>
                                <option value="40"> South Carolina</option> <option value="41"> South Dakota</option> <option value="42">Tennessee</option> <option value="43">Texas</option>
                                <option value="44">Utah</option> <option value="45">Vermont</option> <option value="46">Virginia</option> <option value="47">Washington</option>
                                <option value="48"> West Virginia</option> <option value="49">Wisconsin</option>
                                <option value="50"> Wyoming</option>
                            </select>
                        </div>
                    </div><!-- f_right-->  
                </fieldset>
                <div class="submit"><input class="bt_submit" type="submit" value="Search"></div>
            </form> 
    </div><!--/.adavnced_search_form--> 
</div><!--/.wrap_all_form-->


